<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="integrations_v1alpha.html">Application Integration API</a> . <a href="integrations_v1alpha.projects.html">projects</a> . <a href="integrations_v1alpha.projects.locations.html">locations</a> . <a href="integrations_v1alpha.projects.locations.products.html">products</a> . <a href="integrations_v1alpha.projects.locations.products.integrations.html">integrations</a> . <a href="integrations_v1alpha.projects.locations.products.integrations.versions.html">versions</a> . <a href="integrations_v1alpha.projects.locations.products.integrations.versions.testCases.html">testCases</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all the test cases that satisfy the filters.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
  <pre>Lists all the test cases that satisfy the filters.

Args:
  parent: string, Required. The parent resource where this TestCase was created. (required)
  filter: string, Optional. Standard filter field. Filtering as supported in https://developers.google.com/authorized-buyers/apis/guides/list-filters.
  orderBy: string, Optional. The results would be returned in order specified here. Currently supported sort keys are: Descending sort order for &quot;last_modified_time&quot;, &quot;created_time&quot;. Ascending sort order for &quot;name&quot;.
  pageSize: integer, Optional. The maximum number of test cases to return. The service may return fewer than this value. If unspecified, at most 100 test cases will be returned.
  pageToken: string, Optional. A page token, received from a previous `ListTestCases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTestCases` must match the call that provided the page token.
  readMask: string, Optional. The mask which specifies fields that need to be returned in the TestCases&#x27;s response.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for ListTestCases
  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  &quot;testCases&quot;: [ # The test cases corresponding to the specified filter
    { # Defines the functional test case for Application Integration. Next available id: 15
      &quot;createTime&quot;: &quot;A String&quot;, # Auto-generated.
      &quot;creatorEmail&quot;: &quot;A String&quot;, # Optional. The creator&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
      &quot;databasePersistencePolicy&quot;: &quot;A String&quot;, # Optional. Various policies for how to persist the test execution info including execution info, execution export info, execution metadata index and execution param index..
      &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the test case.
      &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of test case.
      &quot;lastModifierEmail&quot;: &quot;A String&quot;, # The last modifer&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
      &quot;lockHolderEmail&quot;: &quot;A String&quot;, # Optional. The edit lock holder&#x27;s email address. Generated based on the End User Credentials/LOAS role of the user making the call.
      &quot;name&quot;: &quot;A String&quot;, # Output only. Auto-generated primary key.
      &quot;testInputParameters&quot;: [ # Optional. Parameters that are expected to be passed to the test case when the test case is triggered. This gives the user the ability to provide default values. This should include all the output variables of the trigger as input variables.
        { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
          &quot;containsLargeData&quot;: True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
          &quot;dataType&quot;: &quot;A String&quot;, # Type of the parameter.
          &quot;defaultValue&quot;: { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
            &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
              &quot;booleanValues&quot;: [ # Boolean array.
                True or False,
              ],
            },
            &quot;booleanValue&quot;: True or False, # Boolean.
            &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
              &quot;doubleValues&quot;: [ # Double number array.
                3.14,
              ],
            },
            &quot;doubleValue&quot;: 3.14, # Double Number.
            &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
              &quot;intValues&quot;: [ # Integer array.
                &quot;A String&quot;,
              ],
            },
            &quot;intValue&quot;: &quot;A String&quot;, # Integer.
            &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
            &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
              &quot;stringValues&quot;: [ # String array.
                &quot;A String&quot;,
              ],
            },
            &quot;stringValue&quot;: &quot;A String&quot;, # String.
          },
          &quot;displayName&quot;: &quot;A String&quot;, # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is &quot;foo.bar.myName&quot;, then the name would be &quot;myName&quot;.
          &quot;inputOutputType&quot;: &quot;A String&quot;, # Specifies the input/output type for the parameter.
          &quot;isTransient&quot;: True or False, # Whether this parameter is a transient parameter.
          &quot;jsonSchema&quot;: &quot;A String&quot;, # This schema will be used to validate runtime JSON-typed values of this parameter.
          &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
          &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
          &quot;producer&quot;: &quot;A String&quot;, # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
          &quot;searchable&quot;: True or False, # Searchable in the execution log or not.
        },
      ],
      &quot;testTaskConfigs&quot;: [ # Optional. However, the test case doesn&#x27;t mock or assert anything without test_task_configs.
        { # The task mock configuration details and assertions for functional tests. Next available id: 5
          &quot;assertions&quot;: [ # Optional. List of conditions or expressions which should be evaluated to true unless there is a bug/problem in the integration. These are evaluated one the task execution is completed as per the mock strategy in test case
            { # An assertion which will check for a condition over task execution status or an expression for task output variables Next available id: 5
              &quot;assertionStrategy&quot;: &quot;A String&quot;, # The type of assertion to perform.
              &quot;condition&quot;: &quot;A String&quot;, # Optional. Standard filter expression for ASSERT_CONDITION to succeed
              &quot;parameter&quot;: { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4 # Optional. Key-value pair for ASSERT_EQUALS, ASSERT_NOT_EQUALS, ASSERT_CONTAINS to succeed
                &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
                &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
                &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
                    &quot;booleanValues&quot;: [ # Boolean array.
                      True or False,
                    ],
                  },
                  &quot;booleanValue&quot;: True or False, # Boolean.
                  &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
                    &quot;doubleValues&quot;: [ # Double number array.
                      3.14,
                    ],
                  },
                  &quot;doubleValue&quot;: 3.14, # Double Number.
                  &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
                    &quot;intValues&quot;: [ # Integer array.
                      &quot;A String&quot;,
                    ],
                  },
                  &quot;intValue&quot;: &quot;A String&quot;, # Integer.
                  &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
                  &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
                    &quot;stringValues&quot;: [ # String array.
                      &quot;A String&quot;,
                    ],
                  },
                  &quot;stringValue&quot;: &quot;A String&quot;, # String.
                },
              },
              &quot;retryCount&quot;: 42, # Number of times given task should be retried in case of ASSERT_FAILED_EXECUTION
            },
          ],
          &quot;mockConfig&quot;: { # The configuration for mocking of a task during test execution Next available id: 4 # Optional. Defines how to mock the given task during test execution
            &quot;failedExecutions&quot;: &quot;A String&quot;, # Optional. Number of times the given task should fail for failure mock strategy
            &quot;mockStrategy&quot;: &quot;A String&quot;, # Mockstrategy defines how the particular task should be mocked during test execution
            &quot;parameters&quot;: [ # Optional. List of key-value pairs for specific mock strategy
              { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
                &quot;key&quot;: &quot;A String&quot;, # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
                &quot;masked&quot;: True or False, # True if this parameter should be masked in the logs
                &quot;value&quot;: { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  &quot;booleanArray&quot;: { # This message only contains a field of boolean array. # Boolean Array.
                    &quot;booleanValues&quot;: [ # Boolean array.
                      True or False,
                    ],
                  },
                  &quot;booleanValue&quot;: True or False, # Boolean.
                  &quot;doubleArray&quot;: { # This message only contains a field of double number array. # Double Number Array.
                    &quot;doubleValues&quot;: [ # Double number array.
                      3.14,
                    ],
                  },
                  &quot;doubleValue&quot;: 3.14, # Double Number.
                  &quot;intArray&quot;: { # This message only contains a field of integer array. # Integer Array.
                    &quot;intValues&quot;: [ # Integer array.
                      &quot;A String&quot;,
                    ],
                  },
                  &quot;intValue&quot;: &quot;A String&quot;, # Integer.
                  &quot;jsonValue&quot;: &quot;A String&quot;, # Json.
                  &quot;stringArray&quot;: { # This message only contains a field of string array. # String Array.
                    &quot;stringValues&quot;: [ # String array.
                      &quot;A String&quot;,
                    ],
                  },
                  &quot;stringValue&quot;: &quot;A String&quot;, # String.
                },
              },
            ],
          },
          &quot;task&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task name in integration which will be mocked by this test task config
          &quot;taskNumber&quot;: &quot;A String&quot;, # Required. This defines in the test case, the task in integration which will be mocked by this test task config
        },
      ],
      &quot;triggerId&quot;: &quot;A String&quot;, # Required. This defines the trigger ID in workflow which is considered to be executed as starting point of the test case
      &quot;updateTime&quot;: &quot;A String&quot;, # Auto-generated.
      &quot;workflowId&quot;: &quot;A String&quot;, # ID of the workflow with which this test case is associated Deprecated. Please read the workflow_id from name or parent.
    },
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next()</code>
  <pre>Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call &#x27;execute()&#x27; on to request the next
          page. Returns None if there are no more items in the collection.
        </pre>
</div>

</body></html>